Weather View
A custom RelativeLayout for displaying current weather conditions.
This view fetches weather observation data using QueryObservationsTask for a specified location. It then displays:
- A background image representing the current weather condition (e.g., sunny, cloudy). The mapping from Aeris weather icon codes to specific image URLs is handled internally.
- A foreground image showing the current temperature. This temperature image is dynamically generated by a remote service based on the temperature value, unit, font, color, and shadow effect preferences.
It implements RevelControl for integration into the RevelDigital player system and QueryObservationsTask.OnCompleted to handle the result of weather data queries.
See also
Functions
Link copied to clipboard
Gets an iterator over the configuration s for this control.
Link copied to clipboard
Gets the associated with this control, if any.
Link copied to clipboard
Gets the type of the underlying module or content associated with this control.
Link copied to clipboard
Initializes the control with its associated module context.
Link copied to clipboard
Checks if this control is configured to start its operation automatically after #initialize(Module) initialization.
Link copied to clipboard
Callback invoked when the QueryObservationsTask completes with weather data.
Link copied to clipboard
Sets whether this control should start its operation automatically after #initialize(Module) initialization.